package com.tsx.wiki.mapper;

import com.github.pagehelper.Page;
import com.tsx.wiki.pojo.Category;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author Xuan
 * @description 针对表【category(分类)】的数据库操作Mapper
 * @createDate 2023-11-17 20:20:08
 * @Entity com.tsx.wiki.pojo.Category
 */
@Mapper
public interface CategoryMapper {
    Page<Category> selectAllByPage(Category category);
    List<Category> selectAll(Category category);

    Category selectById(Long id);

    void update(Category category);

    void save(Category category);

    void deleteById(Long id);
}




